Integrand size = 8, antiderivative size = 46 \[ \int \cot ^n(a+b x) \, dx=-\frac {\cot ^{1+n}(a+b x) \operatorname {Hypergeometric2F1}\left (1,\frac {1+n}{2},\frac {3+n}{2},-\cot ^2(a+b x)\right )}{b (1+n)} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3557, 371} \[ \int \cot ^n(a+b x) \, dx=-\frac {\cot ^{n+1}(a+b x) \operatorname {Hypergeometric2F1}\left (1,\frac {n+1}{2},\frac {n+3}{2},-\cot ^2(a+b x)\right )}{b (n+1)} \]
[In]
[Out]
Rule 371
Rule 3557
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \frac {x^n}{1+x^2} \, dx,x,\cot (a+b x)\right )}{b} \\ & = -\frac {\cot ^{1+n}(a+b x) \operatorname {Hypergeometric2F1}\left (1,\frac {1+n}{2},\frac {3+n}{2},-\cot ^2(a+b x)\right )}{b (1+n)} \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00 \[ \int \cot ^n(a+b x) \, dx=-\frac {\cot ^{1+n}(a+b x) \operatorname {Hypergeometric2F1}\left (1,\frac {1+n}{2},\frac {3+n}{2},-\cot ^2(a+b x)\right )}{b (1+n)} \]
[In]
[Out]
\[\int \cot \left (b x +a \right )^{n}d x\]
[In]
[Out]
\[ \int \cot ^n(a+b x) \, dx=\int { \cot \left (b x + a\right )^{n} \,d x } \]
[In]
[Out]
\[ \int \cot ^n(a+b x) \, dx=\int \cot ^{n}{\left (a + b x \right )}\, dx \]
[In]
[Out]
\[ \int \cot ^n(a+b x) \, dx=\int { \cot \left (b x + a\right )^{n} \,d x } \]
[In]
[Out]
\[ \int \cot ^n(a+b x) \, dx=\int { \cot \left (b x + a\right )^{n} \,d x } \]
[In]
[Out]
Timed out. \[ \int \cot ^n(a+b x) \, dx=\int {\mathrm {cot}\left (a+b\,x\right )}^n \,d x \]
[In]
[Out]